package com.example.downloaddemo.download;

import java.io.File;

import android.os.Environment;

public class DownloadConstants {
	public static final int DOWNLOAD_BUFFER_SIZE = 4 * 1024;

	public static final String DOWNLOAD_SAVE_FILE_ROOT = Environment
			.getDownloadCacheDirectory().getAbsolutePath()
			+ File.separator
			+ "Download_root" + File.separator;

	public static String getSaveFile(String packageName) {
		return DOWNLOAD_SAVE_FILE_ROOT + packageName + ".apk";
	}
}
